package cn.wolfcode.wolf2w.repository;

import cn.wolfcode.wolf2w.domain.Region;
import cn.wolfcode.wolf2w.domain.StrategyCatalog;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StrategyCatalogRepository extends MongoRepository<StrategyCatalog,String> {

    /**
     * 根据目的地id查询攻略分类集合
     * @param destId
     * @return
     */
    List<StrategyCatalog> findByDestId(String destId);
}
